package com.security.dataprocess.model;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * <p>
 * 传感器阈值
 * </p>
 *
 * @author H
 * @since 2022-12-16
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="AlarmIndicatorThreshold对象", description="传感器阈值")
public class AlarmIndicatorThreshold implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键")

    private Long id;

    @ApiModelProperty(value = "点位id")
    private Long indicatorId;

    @ApiModelProperty(value = "实际阈值")
    private Double actualValue;

    @ApiModelProperty(value = "上报阈值")
    private Double reportValue;

    @ApiModelProperty(value = "报警等级")
    private Long alarmLevel;

    @ApiModelProperty(value = "阈值类型")
    private Long thresholdType;

    @ApiModelProperty(value = "租户ID")
    private Long tenantId;


}
